import Home from './views/Home'
import Login from './views/Login'
import Register from './views/Register'
import VideoPage from './views/VideoPage'
import VideoChannel from './views/VideoChannel'
import News from './views/News'
import Aboutme from './views/Aboutme'
import NotFound from './views/404NotFound'


const routes = [
    {
        path:'/home',
        key:'home',
        component:Home
    },
    {
        path:'/login',
        key:'login',
        component:Login
    },
    {
        path:'/register',
        key:'register',
        component:Register
    },
    {
        path:'/videoPage/:aid',
        key:'videoPage',
        component:VideoPage
    },
    {
        path:'/videoChannel',
        key:'videoChannel',
        component:VideoChannel
    },
    {
        path:'/news',
        key:'news',
        component:News
    },
    {
        path:'/aboutme',
        key:'aboutme',
        component:Aboutme
    },
    {
        path:'',
        key:'notFound',
        component:NotFound
    }
]

export default routes